package cn.rcth.base.domain;

import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Getter@Setter
public class Order extends BatisDomain{

    //商品号
    private Long orderSn;
    //用户id
    private Long userId;
    //订单备注
    private String text;
    //订单总价
    private BigDecimal totalPrice;
    //支付时间
    private Date poyTime;
    //发货时间
    private Date deliveryTime;
    //收货时间
    private Date receiveTime;
    //取消时间
    private Date cancelTime;
    //订单状态
    private Integer status;
    //订单地址
    private Long addressId;
    //订单商品
    private List<OrderProduct> orderProducts;

}